package com.example.szh.adapter;


import com.chad.library.adapter.base.BaseViewHolder;
import com.example.szh.R;
import com.example.szh.entity.ChannelEntity;

import org.greenrobot.greendao.annotation.NotNull;

public class UserChannelAdapter extends BaseUserChannelAdapter{
    public UserChannelAdapter() {
        super(R.layout.item_channel);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder holder, ChannelEntity.Values values) {
        holder.setText(R.id.channel_item_tv,values.channel_name);
        holder.addOnClickListener(R.id.channel_item_del_img);
    }
}
